package cn.wonderland.base.service;

import cn.wonderland.base.dto.EmailCodeDto;
import cn.wonderland.base.dto.EmailRegisterDto;
import cn.wonderland.base.dto.PhoneRegisterDto;
import cn.wonderland.base.dto.SmsCodeDto;

import java.io.IOException;

public interface VerifyCodeService{
    String getImageCode(String imageCodeKey) throws IOException;

    void smsCode(SmsCodeDto dto);

    void phoneRegister(PhoneRegisterDto dto);

    void emailCode(EmailCodeDto dto);

    void emailRegister(EmailRegisterDto dto);
}
